<eq name="TShowTop" value="1">
<!--顶部 开始-->
<div id="top_main">
	<div id="top">
		<div id="top_1"></div>
		<div id="top_2">
            <eq name="EnableWap" value="1">
            	<a href="{:WapHomeUrl()}" target="_blank">
                	<span class="MobileEdition">{$Think.lang.MobileEdition}&nbsp;</span>
                </a>
            </eq>
            <notempty name="Language">
                <a href="{:LanguageUrl('cn')}" target="_self">简体中文版&nbsp;</a>
            	<a href="{:LanguageUrl('en')}" target="_self">English</a>
            </notempty>
		</div>
	</div>
</div>
<!--顶部 结束-->
</eq>

<!--Logo 开始-->
<div id="logo_main">
    <div id="logo">
            <!--网站Logo 开始-->
            <div class="WebLogo">
                <a href="{:HomeUrl()}" target="_self">
                    <img  src="{$WebLogo}" title="{$WebName}" alt="{$WebName}" />
                 </a>
            </div>     
            <!--网站Logo 结束-->
    </div>
</div>
<!--Logo 结束-->

<!--导航条 开始-->
<div id="navigation_main">
	<div id="navigation">
        <ul class="navigationlist">
            <navigationlist id="n1" channelid='0'>
                <li>
                    <eq name="n1.ChannelID" value="$TopChannelID">
                    	 <a href="{$n1.ChannelUrl}" target="{$n1.ChannelTarget}" class="current">{$n1.ChannelName}</a>
                    <else />  
                    	 <a href="{$n1.ChannelUrl}" target="{$n1.ChannelTarget}"  >{$n1.ChannelName}</a>
                    </eq>
                    <eq name="n1.HasChild" value="1">
                        <ul class="subnavigationlist">
                           <navigationlist id="n2" channelid="$n1.ChannelID">
                               <li><a href="{$n2.ChannelUrl}" target="{$n2.ChannelTarget}">{$n2.ChannelName}</a></li>
                           </navigationlist>
                        </ul>
                    </eq>
                </li>
            </navigationlist>
        </ul>
	</div>
</div>
<!--导航条 结束-->

<!--JS幻灯片 开始-->
<div id="banner_main">
    <div id="banner">
             <ul class="bannerlist">
                <bannerlist id="b" bannergroupid="$T1">
                    <li style="background:{$b.BannerDescription}; ">
                        <notempty name="b.BannerUrl">
                            <a href="{$b.BannerUrl}" target="_blank" ><img src="{$b.BannerImage}" /></a>
                        <else/>
                            <img src="{$b.BannerImage}" />
                        </notempty>
                    </li>
                </bannerlist>
             </ul>
    </div>
    <div class="hd"><ul></ul></div>
</div>
<script>
	if( $(".bannerlist li").length > 0 ){
		$('#banner_main').slide({ titCell:'.hd ul', mainCell:'#banner ul', autoPlay:true, autoPage:true, delayTime:500, interTime:3000, effect:'left'});
		$(window).resize(function() {  CenterBanner(); });
		$(window).load(function() { CenterBanner(); });
	}else{
		$("#banner_main").hide();
	}
	
	function CenterBanner(){
		var imgWidth = parseInt( $(".bannerlist li img:first").width() );
		if( imgWidth <= 0 ) return;
		var winWidth = parseInt( $(window).width() );
		var offset = parseInt( (winWidth-imgWidth)/2 );
		$(".bannerlist li img").css("margin-left", offset+'px' );
	}
</script>
<!--JS幻灯片 结束-->

<in name="ChannelID" value="1,2">
    <!--公告 开始-->
    <div id="announcement">
        <div class="announcement_title">{$T2|ChannelName}：</div>
        <div class="announcement_body">
            <ul class="announcementlist">
                <infolist id="f" channelid='$T2' top="5" empty="$Think.lang.NoInformation">
                	 <li>
                     	<a href="{$f.InfoUrl}" target="_blank" title="{$f.InfoTitle}">{$f.InfoSTitle}</a>[{$f.InfoTime}]
                     </li>
                </infolist>
            </ul>
        </div>
        <div class="announcement_bottom">
        	<span class="more" ><a href="{$T2|ChannelUrl}" target="_blank">{$Think.lang.More}...</a></span>
        </div>
    </div>
    <script>$('#announcement').slide({ mainCell:'ul.announcementlist', autoPlay:true, delayTime:500, interTime:3000, vis: 1, effect:'topLoop'});</script>
    <!--公告 结束-->
</in>